-
Home
-
Google for WooCommerce
-
1.2.1
-
Code
-
Classes
- ShippingRateController
| Total Complexity |
17 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
293 |
| Lines of code |
201 |
| Logical lines of code |
50 |
| Comment lines |
64 |
| Methods |
12 |
| Properties |
2 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_create_rate_callback() |
S |
46 |
3 |
43 |
| get_delete_rate_callback() |
S |
54 |
2 |
24 |
| get_read_rate_callback() |
S |
55 |
2 |
23 |
| register_routes() |
S |
50 |
1 |
36 |
| get_read_rates_callback() |
S |
57 |
2 |
18 |
| get_schema_properties() |
S |
53 |
1 |
26 |
| get_additional_fields() |
S |
59 |
1 |
15 |
| __construct() |
S |
75 |
1 |
4 |
| get_all_shipping_rates() |
S |
80 |
1 |
3 |
| get_shipping_rate_for_country() |
S |
79 |
1 |
3 |
| get_query_object() |
S |
80 |
1 |
3 |
| get_schema_title() |
S |
82 |
1 |
3 |